﻿<UserControl x:Class="Project.AllPsicologistReports"
             xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
             xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
             xmlns:d="http://schemas.microsoft.com/expression/blend/2008" 
             xmlns:CustomControls="clr-namespace:CustomControls;assembly=CustomControls"
             mc:Ignorable="d" 
              d:DesignHeight="550" d:DesignWidth="830" xmlns:my="clr-namespace:CustomControls;assembly=CustomControls">

    <Grid Name="Content">
        <Grid Height="36" Margin="11,11,56,0" Name="gridTitle"  VerticalAlignment="Top">
            <Border BorderBrush="#5C5C5C" BorderThickness="0,0,0,2">
                <TextBlock FontSize="24" FontWeight="Normal" Text="Ver Informes Psicologicos" Width="711" HorizontalAlignment="Left" ></TextBlock>
            </Border>
        </Grid>
        <Grid Margin="0,35,0,0">
            <ListView Height="275" ItemContainerStyle="{DynamicResource ListViewEmployeeContainerStyle}" ItemsSource="{Binding}" Margin="48,81,45,0" Name="listView" VerticalAlignment="Top">
                <ListView.View>
                    <GridView>
                        <GridViewColumn CellTemplate="{StaticResource IdItemTemplate}" Header="Id" Width="120" />
                        <GridViewColumn CellTemplate="{StaticResource CiPatientItemTemplate}" Header="CI Paciente" Width="120" />
                        <GridViewColumn CellTemplate="{StaticResource NamePatientItemTemplate}" Header="Nombre Paciente" Width="200" />
                        <GridViewColumn CellTemplate="{StaticResource CiPsicologistItemTemplate}" Header="CI Psicologo" Width="120" />
                        <GridViewColumn CellTemplate="{StaticResource NamePsicologistItemTemplate}" Header="Nombre Psicologo" Width="200" />
                        <GridViewColumn CellTemplate="{StaticResource DateItemTemplate}" Header="Fecha" Width="120" />
                    </GridView>
                </ListView.View>
                <ListView.ContextMenu>
                    <ContextMenu >
                        <MenuItem Header="Ver Informe Psicologico" Click="View_Click"/>
                        <MenuItem Name="Modify" Header="Modificar Informe Psicologico" Click="Edit_Click"/>
                    </ContextMenu>
                </ListView.ContextMenu>
            </ListView>
            <Label Content="Numero de Caso:" FontSize="20" FontWeight="Normal" Height="28" HorizontalAlignment="Left" Margin="110,30,0,0" Name="label28" VerticalAlignment="Top" />
            <Label Content="" FontSize="32" FontWeight="Light" Height="45" HorizontalAlignment="Left" Margin="268,21,0,0" Name="lbCase" VerticalAlignment="Top" />
        </Grid>
    </Grid>
</UserControl>